/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package umis2.nivel;

import java.awt.Point;

/**
 *
 * @author Alex
 */
public class Rama extends Plataforma{

    public static String IZQ="ramaIzq";
    public static String DER="ramaDer";
    private String tipo;

    public Rama(int x, int y, String tipo){
        super(new Point(x, y));
        this.tipo=tipo;
    }

    public boolean colisiona() {
        return true;
    }

    public String getLlave() {
        return tipo;
    }

    @Override
    public double getAncho() {
        return 1;
    }

    @Override
    public double getAlto() {
        return 0.5;
    }

}
